Exercise for cardiac rehabilitation